Skip to content

Conversation

@OttoAllmendinger
Copy link
Contributor

This PR adds support for verifying BIP-322 message signatures using
the wasm-utxo implementation instead of utxo-core. The implementation:

  • Adds verification capabilities for BIP-322 message signatures created
    with wasm-utxo
  • Implements test cases for signature validation across both p2shP2wsh
    and p2wsh script types
  • Adds support for verifying multiple inputs in a single PSBT
  • Simplifies the verification process by removing redundant nonWitnessUtxo
    checks, since the txid check in assertTxInput already ensures correct
    references

BTC-2916

OttoAllmendinger and others added 3 commits January 12, 2026 11:34
Add verification capabilities for BIP-322 message signatures created with
wasm-utxo. Implement test cases for signature validation across both
p2shP2wsh and p2wsh script types. Also add support for verifying multiple
inputs in a single PSBT.

Issue: BTC-2916

Co-authored-by: llm-git <[email protected]>
Remove nonWitnessUtxo check when verifying BIP322 signatures, since
the txid check in assertTxInput already ensures the input references
the correct to_spend transaction.

Issue: BTC-2916

Co-authored-by: llm-git <[email protected]>
Use the wasm-utxo implementation for BIP322 message verification instead
of utxo-core. This includes handling PSBT and transaction proof
verification with the new API.

Issue: BTC-2916

Co-authored-by: llm-git <[email protected]>
@OttoAllmendinger OttoAllmendinger marked this pull request as ready for review January 12, 2026 12:59
@OttoAllmendinger OttoAllmendinger requested a review from a team as a code owner January 12, 2026 12:59
@OttoAllmendinger OttoAllmendinger merged commit 3ca7432 into master Jan 12, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants